package cn.kgc.Adjudicative.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zrz
 * @since 2023-01-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("d_menu")
public class DMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 菜单名
     */
    @TableField("menuName")
    private String menuName;

    /**
     * 父级菜单（pid）
     */
    private Long pid;

    /**
     * 路径
     */
    private String url;

    /**
     * 菜单图标
     */
    private String icon;

    /**
     * 菜单权限
     */
    @TableField("menuRole")
    private String menurole;

    /**
     * 菜单等级(0父级   1二级)
     */
    @TableField("isMenu")
    private Integer ismenu;

    @TableField("menuComponent")
    private String menuComponent;

}
